<!--Copyright (C) Kherty.  All rights reserved.-->
<ResourceDictionary
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    x:Class="OpenLS.Spreadsheet.UI.ContextMenuResources"                
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:ssui="clr-namespace:OpenLS.Spreadsheet.UI" 
                    xmlns:oui="http://schemas.Kherty.com/office/2007" 
                    xmlns:Internals="clr-namespace:OpenLS.Spreadsheet.UI.Internals" xmlns:Internals1="clr-namespace:OpenLS.Spreadsheet.Internals;assembly=OpenLS.Spreadsheet"
    xmlns:Resources="clr-namespace:OpenLS.Spreadsheet.UI.Internals.Resources">
  <ResourceDictionary.MergedDictionaries>
    <oui:MenuResources/>
  </ResourceDictionary.MergedDictionaries>
  <ContextMenu x:Key="{x:Static ssui:SpreadsheetWindowComponents.DefaultWorksheetCellsContextMenuKey}" oui:RibbonElement.ControlState="Medium">
    <MenuItem Command="{x:Static ApplicationCommands.Cut}"/>
    <MenuItem Command="{x:Static ApplicationCommands.Copy}" />
    <MenuItem Command="{x:Static ApplicationCommands.Paste}"/>
    <MenuItem Command="{x:Static ssui:ClipboardCommands.PasteSpecial}" />
    <Separator/>
    <MenuItem Command="{x:Static ssui:SpreadsheetCommands.InsertCells}"/>
    <MenuItem Command="{x:Static ssui:SpreadsheetCommands.DeleteCells}"/>
    <MenuItem Command="{x:Static ssui:SpreadsheetEditingCommands.ClearContents}"/>
    <Separator/>
    <MenuItem Header="{x:Static Resources:UIStringTable.Filter}"/>
    <MenuItem Header="{x:Static Resources:UIStringTable.Sort}">
      <MenuItem Command="{x:Static ssui:SpreadsheetCommands.SortUp}"/>
      <MenuItem Command="{x:Static ssui:SpreadsheetCommands.SortDown}"/>
    </MenuItem>
    <Separator/>
    <MenuItem Command="{x:Static ssui:SpreadsheetCommands.NewComment}"/>
    <MenuItem Command="{x:Static ssui:SpreadsheetCommands.EditComment}"/>
    <MenuItem Command="{x:Static ssui:SpreadsheetCommands.DeleteComment}"/>
    <Separator/>
    <MenuItem Command="{x:Static ssui:SpreadsheetCommands.FormatCells}"/>
    <MenuItem Header="{x:Static Resources:UIStringTable.PickFromDropDownList}"/>
    <MenuItem Header="{x:Static Resources:UIStringTable.NameARange}" Command="{x:Static ssui:SpreadsheetCommands.DefineName}"/>
    <MenuItem Header="{x:Static Resources:UIStringTable.Hyperlink}"/>
    
  </ContextMenu>
</ResourceDictionary>